package com.sxjh.service.impl;

import com.sxjh.entity.Suppliers;
import com.sxjh.entity.result.SupplierListResult;
import com.sxjh.mapper.SuppliersMapper;
import com.sxjh.service.SuppliersService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 客户供应商表 服务实现类
 * </p>
 *
 * @author zixin
 * @since 2021-06-25
 */
@Service
public class SuppliersServiceImpl extends ServiceImpl<SuppliersMapper, Suppliers> implements SuppliersService {

  @Autowired
  private SuppliersMapper suppliersMapper;

  @Override
  public List<SupplierListResult> getComputer(Integer id) {
    return suppliersMapper.getComputer(id);
  }
}